package cn.ibobo.lease.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * 租赁物品表实体类DTO
 * @Author lililiang
 * @Date 2018-12-13 18:36:40
 */

@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("租赁物品表实体类DTO")
public class LeaseResDTO {

	@ApiModelProperty(value = "租赁商品id", required = false)
	private String lid;
	@ApiModelProperty(value = "租赁物品名称", required = false)
	private String name;
	@ApiModelProperty(value = "类型id", required = false)
	private String typeid;
	@ApiModelProperty(value = "描述", required = false)
	private String content;
	@ApiModelProperty(value = "1 可用  0停用  -1 删除", required = false)
	private Integer status;
	@ApiModelProperty(value = "每小时价格", required = false)
	private BigDecimal price;
	@ApiModelProperty(value = "需要押金", required = false)
	private BigDecimal deposit;
	@ApiModelProperty(value = "类型名称", required = false)
	private String typename;
	@ApiModelProperty(value = "租赁商品图片", required = false)
	private String pic;
	@ApiModelProperty(value = "所需客户等级", required = false)
	private Integer level;
	@ApiModelProperty(value = "点金券使用比例，40表示40%", required = false)
	private Integer couponRatio;
//	@ApiModelProperty(value = "库存状态，0 下架  1 可用  -1 删除  2 在租", required = false)
//	private Integer cstatus;
//	@ApiModelProperty(value = "库存信息", required = false)
//	private List<LeaseResDetailDTO> children;

	@ApiModelProperty(value = "是否置顶，0否，1是", required = false)
	private Integer isTop;

}
